﻿using FluentValidation.Attributes;
using Nop.Core;
using Nop.Core.Domain.Localization;
using Nop.Web.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nop.Plugin.Misc.TabManager.Domain
{
    // [Validator(typeof(TabValidator))]
    public class Tab : BaseEntity
    {

        public string TabName { get; set; }

        public bool LogOnRequired { get; set; }
        public string Title { get; set; }
        public int TabOrder { get; set; }

        public string TabController { get; set; }
        public string TabControllerAction { get; set; }

        public int? ParentTabId { get; set; }

        public bool PermanentRedirect { get; set; }
        public string PermanentRedirectUrl { get; set; }

        public string CultureCode { get; set; }
        public string Description { get; set; }

        public bool DisableLink { get; set; }
        public int TabLevel { get; set; }

        public int? StoreId { get; set; }

        public int? TopicId { get; set; }
        public int? CategoryId { get; set; }

        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }

        public bool HasChildren { get; set; }

        public bool IsActive { get; set; }

        public bool IsDeleted { get; set; }

        public bool IsSecure { get; set; }

        public bool IsVisible { get; set; }

        public string KeyWords { get; set; }

        public DateTime CreatedDate { get; set; }
        public int CreatedUserId { get; set; }

        public DateTime? LastModifiedDate { get; set; }
        public int? LastModifiedUserId { get; set; }
    }
}
